/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.mapper;

import cn.yzc.pojo.Emp;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>Project: mybatis_pro - EmpMapper</p>
 * <p>Powered by yzc On 2023-10-11 20:56:53</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public interface EmpMapper {

    /**
     * 条件查询
     *
     * @param name
     * @param gender
     * @param begin
     * @param end
     * @return
     */
    List<Emp> queryEmp(@Param("name") String name, @Param("gender") Short gender, @Param("begin") LocalDate begin,
                       @Param("end") LocalDate end);


    int updateEmp(Emp emp);
}
